﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace Invini.Localization
{
    public delegate void LocalizationContextChangedEventHandler(object sender, LocalizationContextChangedEventArgs e);
    public class LocalizationContextChangedEventArgs : EventArgs
    {
        public DependencyObject Target
        {
            get;
            private set;
        }
        public object NewContext
        {
            get;
            private set;
        }

        public LocalizationContextChangedEventArgs(DependencyObject target, object newContext)
        {
            this.Target = target;
            this.NewContext = newContext;
        }
    }
}
